:root {
  font-family:
    -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue',
    Arial, 'Noto Sans', sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji',
    'Segoe UI Symbol', 'Noto Color Emoji';
  line-height: 1.5;
  font-weight: 400;

  color-scheme: light dark;
  color: rgba(255, 255, 255, 0.87);
  background-color: #242424;

  font-synthesis: none;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

* {
  margin: 0;
  padding: 0;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  background-color: #f5f5f5;
}

#root {
  width: 100%;
  height: 100%;
}

.app-content {
  position: relative;
  z-index: 1;
}

.app-tabbar {
  box-shadow: 0 -2px 8px rgba(0, 0, 0, 0.06);
}

/* 修复底部安全区域 */
@supports (padding-bottom: env(safe-area-inset-bottom)) {
  .app-tabbar {
    padding-bottom: env(safe-area-inset-bottom);
  }
}
